module.exports = {
  devServer: {
    proxy: {
      "/get": {
        target: "https://wq.jd.com/mcoss/datash"
      },
      "/data": {
        target: "https://wq.360buyimg.com/data/"
      },
      "/ware": {
        target: "https://so.m.jd.com/"
      },
      "/search": {
        target: "https://wqsou.jd.com/"
      },
      "/item": {
        target: "https://wq.jd.com/"
      }
    },
  },
  configureWebpack: {
    resolve: {
      alias: {
        "assets": "@/assets",
        "views": "@/views",
        "components": "@/components",
        "network": "@/network",
        "common": "@/common",
      }
    }
  }
}